package design2.builder.example.builders;

import design2.builder.example.cars.CarType;
import design2.builder.example.components.Engine;
import design2.builder.example.components.GPSNavigator;
import design2.builder.example.components.Transmission;
import design2.builder.example.components.TripComputer;

/**
 * 生成器界面定义了配置产品的所有可能方法。
 */
public interface Builder {

	//汽车类型
	 void setCarType(CarType carType) ;
	//座位
	 void setSeats(int seats) ;
	//发动机
	 void setEngine(Engine engine) ;
	//变速箱
	 void setTransmission(Transmission transmission);
	//车载电脑
	 void setTripComputer(TripComputer tripComputer);
	//GPS 导航
	 void setGpsNavigator(GPSNavigator gpsNavigator);
}
